<?php

require_once './data/lyrics.php';
$str = explode("\r", $lyrics);
for ($i = 0; $i < count($str); $i++) {
    if ($str[$i] == "\n") {
        $str[$i] = "\r";
        $co = true;
        $count = $i;
        while ($co == true) {
            $count++;
            if ($str[$count] == "\n") {
                $co = true;
                $str[$count] = "";
            } else {
                $co = false;
            }
        }
    } if ($str[$i] != "") {
        echo $str[$i] . "<br>";
    }
} 